/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package triangulo;

/**
 *
 * @author Taís
 */

import java.util.Scanner;
import java.util.InputMismatchException;

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) 
    {
        // TODO code application logic here
        Scanner input = new Scanner (System.in);
        int flag=0;
        Triangulo triang = new Triangulo ();
        System.out.print("Insira três lados correspondentes ao tamanho de um triângulo:\n");
        try{
            triang.setLado1(input.nextDouble());
            triang.setLado2(input.nextDouble());
            triang.setLado3(input.nextDouble());
        }catch(InputMismatchException e){
            System.out.println("Entrada Invalida");
        }
        int resp = triang.TipoTriangulo(triang.getLado1(),triang.getLado2(),triang.getLado3());
    }
}
